
module.exports = {
    entry:{index:'./index.js'},
    output:{
        filename:'bundle.js',
        publicPath:''
    },
    module:{
        loaders:[
            {test:/\.js$/,exclude:/node_modules/,loader:'babel-loader?presets[]=es2015&presets[]=react'},
            { test: /\.css$/,loader:'style-loader!css-loader'}
        ]
    }
}